package net.entelijan.cobean.filesel;

import javax.swing.JFileChooser;

public enum FileSelectionMode {

	FILES_ONLY(JFileChooser.FILES_ONLY), DIRECTORIES_ONLY(
			JFileChooser.DIRECTORIES_ONLY), FILES_AND_DIRECTORIES(
			JFileChooser.FILES_AND_DIRECTORIES);

	private int swingConstant;

	private FileSelectionMode(int swingConstant) {
		this.swingConstant = swingConstant;
	}

	public int getSwingConstant() {
		return swingConstant;
	}

}
